<?php
/*
 * @Author: Wulala
 * @Date: 2025-03-24 10:40:54
 * @LastEditTime: 2025-04-01 19:43:58
 * @LastEditors: Wulala
 * @Description: 
 * @FilePath: \exchange\app\api\model\Notify.php
 * 可以输入预定的版权声明、个性签名、空行等
 */

namespace app\api\model;

use app\common\model\TimeModel;
use app\common\model\AppConfig as AppConfigModel;
use app\common\model\AppInterfaceConfig as AppInterfaceConfigModel;

class Notify
{
   public function index($appid){

      $data['app_config'] =AppConfigModel::where('appid',$appid)->find()??[];
      $data['app_interface_config'] =AppInterfaceConfigModel::where('appid',$appid)->find()??[];

      if($data['app_config']){
        return $data;
      }else{
        return false;
      }
   }

}